﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

    public sealed class RandomSingleton
    {
        private static RandomSingleton _instancia;
        public static RandomSingleton Instancia
        {
            get 
            {
                if (_instancia == null)
                {
                    _instancia = new RandomSingleton();
                }

                return _instancia;
            }
        }

        public Random Ran { get; set; }

        private RandomSingleton() 
        {
            this.Ran = new Random();
        }
    }

